package com.xiangxiao.rpan.authority.model;

import lombok.Data;

import java.util.Date;

/**
 * @Projectname: RoleModulePermission
 * @Author: xiangxiao
 * @Email: 573768011@qq.com
 * @Data:2023/3/28 23:19
 */
@Data
public class RoleModulePermission {
  private Long id;

  private Long roleId;

  private Long moduleId;

  private Date createTime;

  private Date updateTime;

  private String menuRightTypes;

  private String operationRightTypes;

  private String buttonIds;

  public RoleModulePermission(){}

  public RoleModulePermission(Long roleId,Long moduleId){
    this.roleId = roleId;
    this.moduleId = moduleId;
    Date now = new Date();
    this.createTime = now;
    this.updateTime = now;
  }
}
